package com.xbongbong.paas.service;

import com.xbongbong.paas.pojo.dto.FormDataAddDTO;
import com.xbongbong.paas.pojo.dto.FormDataDeleteBatchDTO;
import com.xbongbong.paas.pojo.dto.FormDataThoroughDeleteDTO;
import com.xbongbong.paas.pojo.vo.FormDataAddVO;
import com.xbongbong.paas.pojo.vo.FormDataDeleteBatchVO;
import com.xbongbong.paas.pojo.vo.FormDataThoroughDeleteVO;
import com.xbongbong.paas.toolbox.exception.XbbException;

/**
 * @author 吴峰
 * @date 2021/07/05 10:25
 */
public interface WorkflowOperatorDataService {

    /**
     * 工作流插入数据
     * @param formDataAddDTO
     * @return com.xbongbong.paas.pojo.vo.FormDataAddVO
     * @author 吴峰
     * @date 2021/7/5 10:25
     * @throws XbbException
     */
    FormDataAddVO add(FormDataAddDTO formDataAddDTO) throws XbbException;

    /**
     * 删除
     * @param formDataDeleteBatchDTO
     * @return com.xbongbong.paas.pojo.vo.FormDataDeleteBatchVO
     * @author 吴峰
     * @date 2021/7/5 20:17
     * @throws XbbException
     */
    FormDataDeleteBatchVO delete(FormDataDeleteBatchDTO formDataDeleteBatchDTO) throws XbbException;

    /**
     * 彻底删除
     * @param formDataThoroughDeleteDTO
     * @return
     * @throws XbbException
     */
    FormDataThoroughDeleteVO thoroughDelete(FormDataThoroughDeleteDTO formDataThoroughDeleteDTO) throws XbbException;

}
